<template>
    我是自组件
   <div>
    <n-button @click="$emit('update:count', count + 1)">click me count + 1！</n-button>
  </div>
</template>
    
<script setup lang='ts'>
import { dialogProps } from "naive-ui/lib/dialog/src/dialogProps";
interface Props {
    count: number
}
const props = defineProps<Props>() 
</script>
    
<style>
    
</style>